Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODPart


RevealLink

The RevealLink method should show the content at the source of a link.

void RevealLink (in ODLinkSource linkSource);
linkSource
A reference to a link-source object representing the linked content to be revealed.
DISCUSSION
OpenDoc calls this method when a link source needs to be shown; this method is not called by parts.

Your part's RevealLink method should select the linked content to be revealed in one of its frames, scroll the frame into view using its containing part's RevealFrame method, and make that frame active. If your part has no visible display frames, or if your part's containing frame cannot reveal the display frame, your method should open a frame in a new window.

OVERRIDING
When you subclass ODPart, you can override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.

EXCEPTIONS
kODErrDoesNotLink
The specified link is not a link of this part.
SEE ALSO
The ODPart::RevealFrame method (page 546).
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Revealing the Source of a Link" on page 392 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help